package com.cnsoft.portal;

import org.cnsoft.framework.support.MyTokenCommonSupport;
import org.cnsoft.framework.utils.DateHelper;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * 过渡页面
 * 
 * @author ZmSoft
 * @version 0.1.0 2018/3/1
 * @since 0.1.0 2018/3/1
 */
@Controller
// @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
@RequestMapping(value = "/pc/1.0")
public class PageHelpController extends MyTokenCommonSupport {

	// 帮助首页
	@RequestMapping(value = "/help.do", method = { RequestMethod.GET, RequestMethod.POST })
	public ModelAndView doAdminHelpPOST() throws Exception {
		ModelAndView modelAndView = new ModelAndView("/help");// 带权限的main-menu2,不带权限main-menu

		modelAndView.addObject("DDD", DateHelper.currentTimeMillis2());

		return modelAndView; // 返回result对象给前端
	}
}
